package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
@Getter@Setter@ToString
/**
 * 系统消息表
 */
public class SystemMessage extends  BaseDomain {

    private String content;//消息内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date sendTime;//发送时间

    private boolean state=false;//状态,默认未读,且不可更改
}